﻿namespace HRM.CORE.Machine
{
    using DevExpress.XtraEditors;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;
    using zkemkeeper;

    public class xfmReg : XtraForm
    {
        private IContainer components;

        public xfmReg()
        {
            this.components = null;
            this.InitializeComponent();
            xucReg reg = new xucReg {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(reg);
        }

        public xfmReg(CZKEMClass czkemClass)
        {
            this.components = null;
            this.InitializeComponent();
            xucReg reg = new xucReg(czkemClass) {
                Dock = DockStyle.Fill
            };
            base.Controls.Add(reg);
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            base.SuspendLayout();
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.ClientSize = new Size(0x254, 360);
            base.MaximizeBox = false;
            base.MinimizeBox = false;
            this.MinimumSize = new Size(0x264, 0x18e);
            base.Name = "xfmReg";
            base.ShowIcon = false;
            base.ShowInTaskbar = false;
            base.StartPosition = FormStartPosition.CenterParent;
            this.Text = "Đăng k\x00fd m\x00e3 chấm c\x00f4ng";
            base.ResumeLayout(false);
        }
    }
}

